import Vue from 'vue';
import Router from 'vue-router';
import Info from "./views/Info"


Vue.use(Router)

export default new Router({
	routes: [{
		path: '/',
		name: 'Info',
		component: Info,
		children: [{
				path: "/",
				name: "clueSearch",
				component: () =>
					import("./components/clueSearch.vue")
			},
			{
				path: "/clueSearch",
				name: "clueSearch",
				component: () =>
					import("./components/clueSearch.vue")
			},
			{
				path: "/floatDet",
				name: "floatDet",
				component: () =>
					import("./components/floatDet.vue")
			},
			{
				path: "/pedigree",
				name: "pedigree",
				component: () =>
					import("./components/pedigree.vue")
			},
			{
				path: "/toolset",
				name: "toolset",
				component: () =>
					import("./components/toolset.vue")
			},

			{
				path: "/resultPage",
				name: "resultpage",
				component: () =>
					import("./components/resultPage.vue")
			},
			{
				path: "/searchDetails",
				name: "searchDetails",
				component: () =>
					import("./components/searchDetails.vue")
			},
			{
				path: "/clueSearchDetails",
				name: "clueSearchDetails",
				component: () =>
					import("./components/clueSearchDetails.vue")
			},
			{
				path: "/TrafficService",
				name: "TrafficService",
				component: () =>
					import("./components/TrafficService.vue")
			},
			{
				path: "/TrafficSon",
				name: "TrafficSon",
				component: () =>
					import("./components/TrafficServiceSon.vue")
			},
			{
				path: "/fileSearch",
				name: "fileSearch",
				component: () =>
					import("./components/fileSearch.vue")
			},
			{
				path: "/fileDetails",
				name: "fileDetails",
				component: () =>
					import("./components/fileDetails.vue")
			},
		],
	}, ]
})
